package com.emergency.controller;

import java.util.HashMap;
import java.util.Map;

public class BaseController {

    protected static Map<String, Object> resultMap = new HashMap<>();

    protected void reput(String key,Object value){
        resultMap.clear();
        put(key,value);
    }

    protected void put(String key,Object value){
        resultMap.put(key,value);
    }

    public static Map<String, Object> getMapInstanct(){
        return resultMap;
    }
}
